package com.xiaoc.bulldozer.common.dto;

import java.util.Map;

public class WxCodeConfig {

    private String scene;

    private String page;

    private int width;

    private boolean autoColor;

    private Map<String, Integer> lineColor;

    private Boolean isHyaline;

    public WxCodeConfig() {
        
    }

    public WxCodeConfig(String scene, String page, int width, boolean autoColor, boolean isHyaline) {
        this.scene = scene;
        this.page = page;
        this.width = width;
        this.autoColor = autoColor;
        this.isHyaline = isHyaline;
    }

    public WxCodeConfig(String scene, String page, int width, boolean autoColor, Map<String, Integer> lineColor, boolean isHyaline) {
        this.scene = scene;
        this.page = page;
        this.width = width;
        this.autoColor = autoColor;
        this.lineColor = lineColor;
        this.isHyaline = isHyaline;
    }

    /**
     * @return the scene
     */
    public String getScene() {
        return scene;
    }

    /**
     * @param scene the scene to set
     */
    public void setScene(String scene) {
        this.scene = scene;
    }

    /**
     * @return the page
     */
    public String getPage() {
        return page;
    }

    /**
     * @param page the page to set
     */
    public void setPage(String page) {
        this.page = page;
    }

    /**
     * @return the width
     */
    public int getWidth() {
        return width;
    }

    /**
     * @param width the width to set
     */
    public void setWidth(int width) {
        this.width = width;
    }

    /**
     * @return the autoColor
     */
    public boolean isAutoColor() {
        return autoColor;
    }

    /**
     * @param autoColor the autoColor to set
     */
    public void setAutoColor(boolean autoColor) {
        this.autoColor = autoColor;
    }

    /**
     * @return the lineColor
     */
    public Map<String, Integer> getLineColor() {
        return lineColor;
    }

    /**
     * @param lineColor the lineColor to set
     */
    public void setLineColor(Map<String, Integer> lineColor) {
        this.lineColor = lineColor;
    }

    public Boolean getIsHyaline() {
        return isHyaline;
    }

    public void setIsHyaline(Boolean hyaline) {
        isHyaline = hyaline;
    }
}
